class Foo:
    def bar(self):
        print("foo")

    def foo(self):
        print("bar")